import config from "@/config"
import http from "@/utils/request"
import tool from '@/utils/tool';

export default {
    echarts: {
        getTokenValue: {
            url: `https://discovery.joveeye.com/api/auth/jwt/enforce`,
            name: "获取token值",
            post: async function (data) {
                /*查看传递过来的参数
                alert(data['username'])
                */
                return await http.post(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },
    },
    //companies
    company: {
        //更改获取的企业报告，保存到业务库，不反向同步到数据中台
        insertEnterpriseReport: {
            url: `${config.API_URL}/get/iciTempEnterprise/saveEnterpriseReport`,
			name: "编辑企业报告",
			post: async function (data) {
				return await http.post(this.url, data, { headers: {} });
			}
        },

        getEnterpriseReport: {
            url: `${config.API_URL}/get/iciTempEnterprise/getEnterpriseReportByUnifiedcode`,
            name: "查看企业报告",
            get: async function (params) {
                return await http.get(this.url, params);
            }
        },


        getZyytApiData: {
            url: `http://localhost:30010/companies/getBasicDataByCode`,
            name: "获取ZyytAPi数据",
            get: async function (params) {
                //params["apiCode"]="1"
                return await http.get(this.url, params);
            }
        },
        getCompanyLogo: {
            url: `http://localhost:30010/companies/getBasicDataByCode`,
            name: "获取公司logo",
            get: async function (params) {
                console.info(params)
                params["apiCode"] = "10"
                return await http.get(this.url, params);
            }
        },
        getCompanyInfo: {
            url: `http://localhost:30010/companies/getBasicDataByCode`,
            name: "获取企业基本信息",
            get: async function (params) {
                params["apiCode"] = "35"
                return await http.get(this.url, params);

            }
        },
        getEintroduction: {
            url: `http://localhost:30010/companies/getBasicDataByCodeAndEid`,
            name: "获取企业简介",
            get: async function (params) {
                params["apiCode"] = "34"
                //params["eid"]="b7d28b2f-a584-4307-a65e-0d761c98afca"
                return await http.get(this.url, params);
            }
        },
        getApiEmployee: {
            url: `http://localhost:30010/companies/getBasicDataByCodeAndEid`,
            name: "获取企业员工",
            get: async function (params) {
                params["apiCode"] = "37"
                //params["eid"]="c78030d9-fe0d-4622-90cb-baf597737a88"
                return await http.get(this.url, params);
            }
        },

        getIciCompanyInfo: {
            url: `${config.ICI_URL}/company-single/get/getSingleData`,
            name: "获取企业基本信息",
            get: async function (params) {
                params["tid"] = "1"
                params["fieldName"] = "name"
                return await http.get(this.url, params);
            }
        },

        // getIciCompanyInfo: {
        //     url: `${config.API_URL}/get/data/getSingleData`,
        //     name: "获取企业基本信息",
        //     get: async function (params) {
        //         params["tid"] = "1"
        //         params["fieldName"] = "name"
        //         return await http.get(this.url, params);

        //     }
        // },

        //行业分类and公司名 舍去用下面的
        getAggsTypeAndName: {
            url: `${config.API_URL}/get/data/getAggsTypeAndName`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                params["tid"] = "1"
                params["fieldName"] = "industry_classification"
                return await http.get(this.url, params);

            }
        },

        //公司列表
        getFTCompanyList: {
            url: `${config.ICI_URL}/company/get/companyBasicDataList`,
            // url: `${config.API_URL}/get/data/getFTClassifyTypeTree`,
            name: "公司列表",
            post: async function (data) {

                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
            // post: async function (data) {
            //     /*查看传递过来的参数
            //     alert(data['username'])
            //     */
            //     return await http.post(this.url, data, {headers: {'Content-Type': 'application/json'}});
            // }
           // post: async function () {
            //     let param={
            //         ipi:1,
            //         ips:10
            //     };
            //   let params =
            //     {
            //         "id": 104,
            //         "params": {
            //             "ipi":1,
            //             "ips":10
            //         }
            //     }
                // return await http.post(this.url,params,{headers: {'dataType':'json','Content-Type': 'application/json;charset=utf-8'}});
           // }
        },

        //行业分类and公司名
        getFTClassifyTypeTree: {
           // url: `${config.ICI_URL}/company/get/companyBasicDataList`,
            url: `${config.API_URL}/get/data/getFTClassifyTypeTree`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },

        getGroupByData: {
            url: `${config.API_URL}/get/data/getGroupByData`,
            name: "获取分组数据",
            get: async function (params) {
                return await http.get(this.url, params);
            }
        },

        insert: {
            url: `${config.API_URL}/set/data/insertData`,
            name: "增加补录企业",
            post: async function (data) {

                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },

        update: {
            url: `${config.API_URL}/set/data/putDataEdit`,
            name: "更新补录企业",
            post: async function (data) {
                return await http.post(this.url, data, {headers: {}});
            }
        },
        putData: {
            url: `${config.API_URL}/set/data/putData`,
            name: "补录企业申请",
            post: async function (data) {
                data["tid"] = "4"
                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },

        putEnterpriseData: {//招商报备等 可公用  要传递tid进来
            url: `${config.API_URL}/set/data/putData`,
            name: "企业申请", //招商报备等
            post: async function (data) {
                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },
        deleteEnterpriseData: {//招商报备等 可公用  要传递tid进来
            url: `${config.API_URL}/set/data/deleteData`,
            name: "企业申请", //招商报备等
            delete: async function (data) {
                data["tid"] = "1"
                return await http.delete(this.url, data, {headers: {}});
            }
            // post: async function (data) {
            //     return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            // }
        },

        
        insertEpData: {
            url: `${config.API_URL}/set/data/putData`,
            name: "补录企业",
            post: async function (data) {
                data["tid"] = "1"
                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },
        putEpData: {
            url: `${config.API_URL}/set/data/putDataEdit`,
            name: "修改企业",
            post: async function (data) {
                data["tid"] = "1"
                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },
        collectEpData: {
            url: `${config.API_URL}/set/data/collectEpData`,
            name: "收藏企业",
            post: async function (data) {
                data["tid"] = "1"
                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },

        setTargetEpData: {
            url: `${config.API_URL}/set/data/targetEpData`,
            name: "设为目标企业",
            post: async function (data) {
                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },
        putPartnersData: {
            url: `${config.API_URL}/set/data/putData`,
            name: "企业股东录入",
            post: async function (data) {
                data["tid"] = "5"
                return await http.put(this.url, data, {headers: {'Content-Type': 'application/json'}});
            }
        },
        insert1: {
            url: `${config.API_URL}/set/data/insert`,
            name: "增加补录企业",
            post: async function (data) {
                return await http.post(this.url, data, {headers: {}});
            }
        },
        deletData: {
            url: `${config.API_URL}/set/data/deleteData`,
            name: "删除企业档案",
            delete: async function (data) {
                data["tid"] = "1"
                return await http.delete(this.url, data, {headers: {}});
            }
        },

        deletPartnersData: {
            url: `${config.API_URL}/set/data/deleteData`,
            name: "删除股权结构表中对应的公司数据",
            delete: async function (data) {
                data["tid"] = "5"
                return await http.delete(this.url, data, {headers: {}});
            }
        },
        getCompaniesList: {
			url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
			//url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取公司列表",
            get: async function (params) {
                params["tid"] = "1"
				return await http.get(this.url, params);
			}
        },
        getCompanyList: {
			url: `${config.API_URL}/get/data/getDataPageListByTableId21`,
			//url: `${config.API_URL}/get/industryInvestEnterprise/getIndustryInvestEnterpriseList`,
			name: "招引企业获取列表",
			post: async function (params) {
                params["tid"] = "1"
				return await http.post(this.url, params);
			}
		},
		getInvestEnterprise: {
			// url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
			url: `${config.API_URL}/get/industryInvestEnterprise/getIndustryInvestEnterpriseList`,
			name: "招引企业获取列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},
		getInvestType: {
			// url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
			url: `${config.API_URL}/get/industryInvestEnterprise/getIndusrtyOption`,
			name: "招引企业获取列表",
			get: async function (params) {
				return await http.get(this.url, params);
			}
		},

		updateInvestEnterprise: {
			// url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
			url: `${config.API_URL}/get/industryInvestEnterprise/updateInvestEnteripse`,
			name: "招引企业获取列表",
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
		// 查询以及类目下级的收藏信息
		getStoreCompaniesList:{
			url: `${config.API_URL}/get/data/getDataPageList`,
			name: "获取收藏公司列表",
			get: async function (params) {
				params["tid"] = "2"
				return await http.get(this.url, params);
			}
		},
		// 批量取消收藏
		batchCancelCollect:{
			url: `${config.API_URL}/api/company/batchCancelCollectCustomer`,
			name: "批量取消收藏",
			post: async function (params) {
				return await http.post(this.url,params);
			}
		},


        getMyCompaniesList: {
            url: `${config.ICI_URL}/company-tableId1/get/getDataPageList1`,
            name: "获取列表",
            get: async function (params) {
                params["tid"] = "2"
                return await http.get(this.url, params);
            }
        }
        ,
        getSupplementList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取补录数据列表",
            get: async function (params) {
                params["tid"] = "4"
                return await http.get(this.url, params);
            }
        }
        ,
        getFifthKPIList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId`,
            url: `${config.ICI_URL}/company-tableId1/get/getDataPageList1`,
            name: "获取第五指标",
            get: async function (params) {
                params["tid"] = "3"
                return await http.get(this.url, params);
            }
        }

        //获取股东列表
        , getPartnersList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId`,
            url: `${config.ICI_URL}/company-tableId1/get/getDataPageList1`,
            name: "获取股东列表",
            get: async function (params) {
                params["tid"] = "5"
                return await http.get(this.url, params);
            }
        }
        //获取股权穿透公司列表
        , getIciCompaniesEp: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId`,
            url: `${config.ICI_URL}/company-tableId1/get/getDataPageList1`,
            name: "获取股权穿透公司列表",
            get: async function (params) {
                params["tid"] = "6"
                return await http.get(this.url, params);
            }
        }
        , getIciExecutives: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId`,
            url: `${config.ICI_URL}/company-tableId1/get/getDataPageList1`,
            name: "获取股权穿透公司列表",
            get: async function (params) {
                params["tid"] = "7"
                return await http.get(this.url, params);
            }
        }
        , getIciChangeRecordsList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取股权穿透公司列表",
            get: async function (params) {
                params["tid"] = "8"
                return await http.get(this.url, params);
            }
        }
        , getIciFZLCList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取股权穿透公司列表",
            get: async function (params) {
                return await http.get(this.url, params);
            }
        }
        // 获取企业评价得分列表
        , getDataPageListByTableId2: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取股权穿透公司列表",
            get: async function (params) {
                return await http.get(this.url, params);
            }
        }
        ,getCompanyComment:{
            url: `${config.ICI_URL}/company-single/get/getSingleData`,
            name: "获取企业评价得分列表",
            get: async function (params) {
                params["tid"] = "10"
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }

        //获取公司的适配数据
        , getIciCompanyFitnessData: {
            // url: `${config.API_URL}/get/data/getSingleData`,
            url: `${config.ICI_URL}/company-single/get/getSingleData`,
            name: "获取公司的适配数据",
            get: async function (params) {
                params["tid"] = "9"
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }
        //获取公司的综合评分
        , getIciCompanyEvaluationData2: {
            // url: `${config.API_URL}/get/data/getSingleData`,
            url: `${config.ICI_URL}/company-single/get/getSingleData`,
            name: "获取公司的适配数据",
            get: async function (params) {
                params["tid"] = "10"
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }
        //获取数据列表
        , getIciDataList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取数据列表",
            get: async function (params) {
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }
        //企业资质接口
        , getIciQYZZData: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取企业资质表",
            get: async function (params) {
                //params["tid"]="11"
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }
        // end 企业资质接口

        //风险预警 -  经营风险
        , getIciJYFXData: {
            // url: `${config.API_URL}/get/data/getSingleData`,
            url: `${config.ICI_URL}/company-single/get/getSingleData`,
            name: "经营风险",
            get: async function (params) {
                params["tid"] = "20"
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }

        }
        , getIciJYYCData: {  //返回列表数据
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "经营异常",
            get: async function (params) {
                //params["tid"]="24"
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }
        // end 企业资质接口

        , getIciJYNLDataList: {  //返回经营能力列表数据
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "经营能力",
            get: async function (params) {
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }
        // end 经营能力接口

        , getIciSHGXDataList: {  //返回社会贡献列表数据
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "社会贡献",
            get: async function (params) {
                params['fieldName'] = "name"
                // params['order'] = 'ascending'
                return await http.get(this.url, params);
            }
        }
        //获取招聘情况列表
        , getIciZPQKDataList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取招聘情况列表",
            get: async function (params) {
                //params["tid"]="82"
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }
        // end
        //获取创新能力列表
        , getIciCXNLDataList: {
            // url: `${config.API_URL}/get/data/getDataPageListByTableId2`,
            url: `${config.ICI_URL}/company-tableId/get/getDataPageList`,
            name: "获取创新能力列表",
            get: async function (params) {
                params['fieldName'] = "name"
                return await http.get(this.url, params);
            }
        }


    },
    //企业画像请求地址
    profileLink: {

        //获取最新更新时间
        getIciConfig:{
            url: `${config.ICI_URL}/company/get/iciConfig/getConfig`,
            name: "获取最新更新时间",
            get: async function (params) {

                return await http.get(this.url,params)
            }
        },
        // getIciConfig:{
        //     url: `${config.API_URL}/get/iciConfig/getConfig`,
        //     name: "获取最新更新时间",
        //     get: async function (params) {
        //         return await http.get(this.url,params);
        //     }
        // },

        companyInterfaceAPI: {
            url: `${config.ICI_URL}/ac-project/apisystem/requestApi`,
            name: "通用接口API",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {
                    headers: {
                        'Content-Type': 'application/json;charset=UTF-8',
                        'Authorization': tool.cookie.get('AC_TOKEN')
                    }
                });
            }
        },
        /**
         * 获取中间件系统的Token
         */
        getMiddlewareToken: {
            url: `${config.AC_LOGIN_URI}/prod-api/login`,
            name: "获取中间件系统的Token",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 通用接口API
         */
        // commonInterfaceAPI: {
        //     url: `${config.AC_URL}/ac-project/apisystem/requestApi`,
        //     name: "通用接口API",
        //     post: async function (data) {
        //         return await http.postByContentType(this.url, data, {
        //             headers: {
        //                 'Content-Type': 'application/json;charset=UTF-8',
        //                 'Authorization': tool.cookie.get('AC_TOKEN')
        //             }
        //         });
        //     }
        // },
        /**
         * 获取系统的Token
         */
        getTokenValue: {
            url: `https://discovery.joveeye.com/api/auth/jwt/enforce`,
            name: "获取token值",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 获取企业Logo和企业名称
         */
        getEnterpriseLogo: {
            url: 'https://discovery.joveeye.com/api/companyes/company/logo?eid=b7d28b2f-a584-4307-a65e-0d761c98afca',
            name: "获取企业Logo",
            get: async function (params) {
                return await http.get(this.url, params, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': params['token']
                    }
                });
            }
        },
        /**
         * 获取评价指数
         * 请求参数 ：{"name":"北京旷视科技有限公司","sub_score":{"科技创新指数":"83","企业稳定指数":85,"市场情绪指数":95,"投资风险指数":25}}
         */
        getAllSource: {
            url: 'https://discovery.joveeye.com/api/companytrade/company/all_score',
            name: "获取评价指数",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 获取企业标签
         * 请求参数 ：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca"}
         */
        getPortrait: {
            url: 'https://discovery.joveeye.com/api/companytrade/opinion/portrait',
            name: "获取企业标签",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 获取企业资质
         * 请求参数 ：{"name":"北京旷视科技有限公司","id":"b7d28b2f-a584-4307-a65e-0d761c98afca"}
         */
        getCertificates: {
            url: 'https://discovery.joveeye.com/api/companytrade/opinion/certificates',
            name: "获取企业资质",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 上市公司对标
         * 请求参数：companyName: 北京旷视科技有限公司
         */
        benchmarkingPublic: {
            url: 'https://discovery.joveeye.com/api/companyes/company/public',
            name: "上市公司对标",
            get: async function (data) {
                return await http.get(this.url + "" + data["companyName"], {}, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': data['token']
                    }
                });
            }
        },
        /**
         * 根据dataType获取不同的接口数据
         * dataType:patentAnalysis  企业主要技术方向
         * dataType:cnCompanySort  竞品企业匹配
         * dataType:patentCount  企业专利情况
         * dataType:patentAnalysis  行业技术水平
         * dataType:patentPerson
         *    取返回值中的rank 核心团队人才
         *    取返回值中的all 团队人才列表
         *    取返回值中的flow.output,flow.input目前还不明确  人才流动分析
         * dataType:companyPk
         *    取返回值：ipcScoreArr中的num  历年专利量
         *    取返回值: ipcScoreArr中的Score 专利价值
         */
        getEnterPriseByDataType: {
            url: 'https://discovery.joveeye.com/api/companyes/pack/index?',
            name: "根据dataType获取不同的接口数据",
            get: async function (data) {
                return await http.get(this.url + "dataType=" + data["dataType"] + "&companyName=" + data["companyName"], {}, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': data['token']
                    }
                });
            }
        },
        /**
         * 获取企业专利明细评分
         * 请求参数 ：{"ipi":6,"ips":5,"betweenNum":4,"companyName":"北京旷视科技有限公司"}
         */
        getPatentDetailsScore: {
            url: 'https://discovery.joveeye.com/api/companyes/score/group/page',
            name: "获取企业专利明细评分",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 专利申请趋势
         * 请求参数 ：{"companyName":"北京旷视科技有限公司","musts":{"date_sort":"1"},"rangArr":[{"start":"2015-01-01","end":"2024-12-31","field":"ad"}],"aggs":{"size":"","interval":"YEAR","format":"yyyy","field":"ad","type":"date"}}
         * 申请日数量  请求参数：{"companyName":"北京旷视科技有限公司","musts":{"date_sort":"1"},"rangArr":[{"start":"2015-01-01","end":"2024-12-31","field":"ad"}],"aggs":{"size":"","interval":"YEAR","format":"yyyy","field":"ad","type":"date"}}
         * 公开日数量 请求参数：{"companyName":"北京旷视科技有限公司","musts":{"date_sort":"1"},"rangArr":[{"start":"2015-01-01","end":"2024-12-31","field":"isd"}],"aggs":{"size":"","interval":"YEAR","format":"yyyy","field":"isd","type":"date"}}
         * 发明人专利量 请求参数：{"companyName":"北京旷视科技有限公司","musts":{"date_sort":"1"},"rangArr":[{"start":"2015-01-01","end":"2024-12-31","field":"ad"}],"aggs":{"size":"30","showSize":15,"interval":"","format":"","field":"inventor","type":"base"}}
         * 法律状态 请求参数：{"companyName":"北京旷视科技有限公司","musts":{"date_sort":"1"},"aggs":{"size":"10","interval":"","format":"","field":"legal_status","type":"base"}}
         * 机构研究领域变化 请求参数：{"companyName":"北京旷视科技有限公司","musts":{"date_sort":"1"},"rangArr":[{"start":"2015-01-19","end":"2024-01-19","field":"ad"}],"aggs":{"size":"10","field":"ipc_kind","type":"base","subAggs":{"size":"","interval":"YEAR","format":"yyyy","field":"ad","type":"date"}}}
         * 专利列表(查询类型) 请求参数：{"companyName":"北京旷视科技有限公司","aggs":{"size":"20","field":"patent_type","interval":"","format":"","type":"base"},"musts":{"date_sort":"1"},"rangArr":[]}
         */
        getPatentAnalysis: {
            url: 'https://discovery.joveeye.com/api/companyes/aggs/patent/analysis',
            name: "专利申请趋势",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 获取专利申请趋势列表 请求参数 ：{"companyName":"北京旷视科技有限公司","ipi":1,"ips":6,"rang":[{"field":"ad","start":"2015-01-01","end":"2015-12-31"}]}
         * 获取法律状态列表 {"companyName":"北京旷视科技有限公司","ipi":1,"ips":6,"musts":{"legal_status":"授权"}}
         * 专利列表 请求参数：{"companyName":"北京旷视科技有限公司","ipi":1,"ips":10,"musts":{},"rang":[]}
         */
        getPatentAnalysisList: {
            url: 'https://discovery.joveeye.com/api/companyes/patent/search',
            name: "专利申请趋势",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 专利列表（价值评分）
         * description: pn是列表中的pn字段
         */
        getPatentScoreCount: {
            url: 'https://discovery.joveeye.com/api/companyes/pantentScore/count?',
            name: "专利列表（价值评分）",
            get: async function (data) {
                return await http.get(this.url + "pn=" + data["pn"], {}, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': data['token']
                    }
                });
            }
        },
        /**
         * 转让许可情况
         * 参数 companyName: 北京旷视科技有限公司
         */
        getTransfer: {
            url: 'https://discovery.joveeye.com/api/companyes/lawstatus/getTransfer?',
            name: "转让许可情况",
            get: async function (data) {
                return await http.get(this.url + "companyName=" + data["companyName"], {}, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': data['token']
                    }
                });
            }
        },
        /**
         * 专利质押情况
         * 参数 companyName: 北京旷视科技有限公司 ipi: 1 ips: 5"
         */
        getLawStatusPage: {
            url: 'https://discovery.joveeye.com/api/companyes/lawstatus/getpage?ipi=1&ips=5&',
            name: "专利质押情况",
            get: async function (data) {
                return await http.get(this.url + "companyName=" + data["companyName"], {}, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': data['token']
                    }
                });
            }
        },
        /**
         * 专利纠纷情况
         * 参数  "companyName: 北京旷视科技有限公司 ipi: 1 ips: 5"
         */
        getSuitPage: {
            url: 'https://discovery.joveeye.com/api/companyes/suit/getpage?ipi=1&ips=5&',
            name: "专利纠纷情况",
            get: async function (data) {
                return await http.get(this.url + "companyName=" + data["companyName"], {}, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': data['token']
                    }
                });
            }
        },
        /**
         * 技术对比公司列表
         * 请求参数：{"companyName":"北京旷视科技有限公司"}
         */
        getCompanyPkHistoryList: {
            url: 'https://discovery.joveeye.com/api/companyes/company/pkhistory/page',
            name: "技术对比公司列表",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 技术对比-历年专利量 接口取值字段：num
         * 技术对比-专利价值 接口取值字段：score
         * 请求参数 "basicName: 北京旷视科技有限公司 compareName: 四川川大智胜软件股份有限公司"
         */
        getCompanyPkIpcGroup: {
            url: 'https://discovery.joveeye.com/api/companyes/companyPk/ipcGroup?',
            name: "专利纠纷情况",
            get: async function (data) {
                return await http.get(this.url + "basicName=" + data["basicName"] + "&compareName=" + data["compareName"], {}, {
                    headers: {
                        'Content-Type': 'application/json',
                        'Authorization': data['token']
                    }
                });
            }
        },
        /**
         * 获取公司信息
         * 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"17cf0131d82e20dcab260ec2bd87bab9","ipi":1,"ips":20}
         * 公司简介 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"17cf0131d82e20dcab260ec2bd87bab9","ipi":1,"ips":20}
         * 基本信息 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"33ae4d5cd5b5e5f65aa89144791c4a70","ipi":1,"ips":20}
         * 主要人员 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"06ba63698abb12b6eb5b815b6b11bb2a","ipi":1,"ips":100}
         * 分支机构 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"262f70344c1d113dc1432d36e2807e3d","ipi":1,"ips":5}
         * 对外投资 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"aa0db5d0e91fb921249e31bf2bb9b43a","ipi":1,"ips":5}
         * 融资信息 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"b83c4a27ebcb0a7fc99c6b0d2f1ff84f","ipi":1,"ips":100}
         * 公司风险信息  请求参数：
         * 抽查检查 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"b9dc4c3fc9f618c7ceffbe0f46e6eccf","ipi":1,"ips":5}
         * 开庭公告 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"4f226409d44e5a900c77321ae426c715","ipi":1,"ips":5}
         * 裁判文书 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"12c9d28c180a469d34b796556a1f2546","ipi":1,"ips":5}
         * 税务检查 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"1b346692efb839ca9df54cc06050dbc6","ipi":1,"ips":5}
         * 股权出质 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"e8ff41139cfa9f8176fd17d186f3faa9","ipi":1,"ips":5}
         */
        getCompanySelectByName: {
            url: 'https://discovery.joveeye.com/api/company-shard/company/selectByName',
            name: "获取公司信息",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 工商变更
         * 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca","tid":"926a7d53ac3fa19616d50d16ad1f6e83","ipi":1,"ips":2000,"sort":{"change_date":"asc"}}
         */
        getCompanyChange: {
            url: 'https://discovery.joveeye.com/api/companytrade/company/change',
            name: "工商变更",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 相关公司风险分析
         * 请求参数：{"eid":"b7d28b2f-a584-4307-a65e-0d761c98afca"}
         */
        getCompanyRiskScore: {
            url: 'https://discovery.joveeye.com/api/companytrade/company/risk/score',
            name: "相关公司风险分析",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        /**
         * 信息走势  接口取值字段：data.agg.time-aggs
         * 分类统计+负面指数 "接口取值字段 ：分类：tag-aggs 负面指数：sentiment-aggs"
         * 全部搜索结果 接口取值字段：items
         */
        getOpinionNewSearch: {
            url: 'https://discovery.joveeye.com/api/companytrade/opinion/new/search',
            name: "搜索结果以及信息数据趋势",
            post: async function (data) {
                return await http.postByContentType(this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
    },

    //企业画像
    adaptationAnalysis:{
        // 目标企业散点图信息
        getPortraitTargetPoint:{
            url: `${config.EP_URL}/api/park/portrait/park/target/point`,
            name: "目标企业散点图信息",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 获取产业分类
        getPortraitIndustry:{
            url: `${config.EP_URL}/api/park/portrait/industry`,
            name: "获取产业分类",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 获取区内企业
        getPortraitIndustryCompany:{
            url: `${config.EP_URL}/api/park/portrait/industry/company/v2`,
            name: "获取区内企业",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 目标企业散点图
        getPortraitParkPointTarget:{
            url: `${config.EP_URL}/api/park/portrait/park/point/target`,
            name: "",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 区内企业散点图
        getPortraitParkPoint:{
            url: `${config.EP_URL}/api/park/portrait/park/point`,
            name: "",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 查看企业
        getPortraitCompanySearch:{
            url: `${config.EP_URL}/api/park/portrait/company/search`,
            name: "查看企业",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 行政区划分
        getPortraitAd:{
            url: `${config.EP_URL}/api/park/portrait/ad`,
            name: "行政区划分",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 区内企业数量
        getParkNum:{
            url: `${config.EP_URL}/api/park/portrait/park/company`,
            name: "区内企业数量",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 信息汇总
        getParkCollect:{
            url: `${config.EP_URL}/api/park/portrait/park/collect`,
            name: "信息汇总",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        //目标企业
        getParkPortraitTarget:{
            url: `${config.EP_URL}/api/park/portrait/park/target/v2`,
            name: "目标企业",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        //目标企业数量
        getParkPortraitTargetNum:{
            url: `${config.EP_URL}/api/park/portrait/park/company/target`,
            name: "目标企业数量",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 招引企业总数量
        getCollectCompanyCount:{
            url: `${config.API_URL}/api/company/getCollectCompanyCount`,
            name: "招引企业总数量",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 收藏企业
        saveCollectCompany:{
            url: `${config.API_URL}/api/company/saveCollectCompany`,
            name: "收藏企业",
            post: async function (data) {
                // return await http.postByContentType( this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
                return await http.post(this.url, data, {headers: {}});

            }
        },
        //收藏到目标客户池
        saveCollectCompanyTarget:{
            url: `${config.API_URL}/get/crm/collectTargetCustomer`,
            name: "收藏到目标客户池",
            post: async function (data) {
                // return await http.postByContentType( this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
                return await http.post(this.url, data, {headers: {}});

            }
        },
//从目标客户池删除
		cancelTargetCustomerPool:{
			url: `${config.API_URL}/get/crm/cancelCollectTargetCustomerIsPool`,
			name: "从目标客户池删除",
			get: async function (params) {
				return await http.get(this.url,params);

			}
		},
        // 取消收藏
        updateCollectCompany:{
            url: `${config.API_URL}/api/company/updateCollectCompany`,
            name: "取消收藏",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },

		// 查询以及类目下级的收藏信息
		getCollectLowerList:{
			url: `${config.API_URL}/api/company/getCollectLowerList`,
			name: "查询收藏下级",
			post: async function (params) {
				return await http.post(this.url,params);
			}
		},

        // 企业是否被收藏
        queryCollectCompany:{
            url: `${config.API_URL}/api/company/queryCollectCompany`,
            name: "企业是否被收藏",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
		// 企业是否被添加到客户池
		getIsCollectTargetPool:{
			url: `${config.API_URL}/get/crm/getCollectTargetCustomerIsPool`,
			name: "企业是否被添加到客户池",
			get: async function (params) {
				return await http.get(this.url,params);
			}
		},
        // 招引企业列表
        getCollectCompanyList:{
            url: `${config.API_URL}/api/company/getCollectCompanyList`,
            name: "招引企业列表",
            post: async function (data) {
                return await http.post(this.url, data, {headers: {}});
                // return await http.postByContentType( this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});

            }
        },
        // TAB-下是否有数据
        getPortraitParkTab:{
            url: `${config.EP_URL}/api/park/portrait/park/tab`,
            name: "TAB-下是否有数据",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        //企业评价
        getPortraitParkTabFitScore:{
            url: `${config.EP_URL}/api/park/portrait/tab/fit/score`,
            name: "",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        //适配分析
        getPortraitParkTabFitAnalyze:{
            url: `${config.EP_URL}/api/park/portrait/tab/fit/analyze`,
            name: "",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        //招引企业散点图
        getCollectCompanyParkPoint:{
            url: `${config.API_URL}/get/industryInvestEnterprise/getInvestEntrpPointer`,
            name: "",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },


    },
    park:{
        //行业分类and公司名
        getGovClassifyTypeTree: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/industry`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getGovTreeCompany: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/industry/company`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getGovCompanyData: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/info/company`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkPartnersList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/info/shares`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkChangeRecordsList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/info/change`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkQYZZList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/honor/aptitude`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkQYRBQKList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/aonor/affiche`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkBAXKList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/honor/record`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkJYYCList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/risk/abnormal`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkXZCFJLList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/risk/punish`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkPatentList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/innovate/patent/application`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkCopyrightList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/innovate/copyright`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkWorkrightList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/innovate/workright`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkYZGDList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/manage/shares`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkGYSFXList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/manage/supplier`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkKHFXList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/manage/client`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkRZLCList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.EP_URL}/api/park/portrait/tab/manage/financing`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);

            }
        },
        //行业分类and公司名
        getParkDWTZList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/invest/info`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkZCYGDList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/society/employee`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkSWPJList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/society/taxation`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkSDSList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/society/tax/income`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkTZFXList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/progress/invest`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkRZFXList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/progress/financing`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkJPFXList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/progress/competitor`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkCPFXList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/progress/product`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        //行业分类and公司名
        getParkJSQDList: {
           // url: `${config.EP_URL}/company/get/companyBasicDataList`,
           url: `${config.EP_URL}/api/park/portrait/tab/progress/technology`,
           name: "获取行业分类和公司名的json对象",
           get: async function (params) {
               return await http.get(this.url, params);
           }
        },
        getParkZYQYTree: {
            // url: `${config.EP_URL}/company/get/companyBasicDataList`,
            url: `${config.API_URL}/get/industryInvestEnterprise/getIInvestEnterpriseList`,
            name: "获取行业分类和公司名的json对象",
            get: async function (params) {
                return await http.get(this.url, params);
            }
         },
         getParkPortraitParkListNum: {
            url: `${config.EP_URL}/api/park/company/queryCompanyInfo`,
            name: "目标企业数量",
            post: async function (params) {
                return await http.post(this.url, params, {headers: {}});
            }
          },
    },

    // 企业档案-产业分类
    getRegionalIndustry:{
        url: `${config.EP_URL}/api/regional/industry`,
        name: "",
        get: async function (params) {
            return await http.get(this.url,params);
        }
    },
    // 企业档案-区内企业
    parkenterprise:{
        // 区内企业分页
        getRegionalAreaIn:{
            url: `${config.EP_URL}/api/regional/area/in`,
            name: "",
            post: async function (data) {
                // return await http.post(this.url, data, {headers: {}});
                return await http.postByContentType( this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        // 区内企业删除
        deleteRegionalArea:{
            url: `${config.EP_URL}/api/regional/area/in/del`,
            name: "",
            post: async function (data) {
                return await http.postByContentType( this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});

            }
        },
        


    },
    // 企业档案-目标企业
    archives:{
        // 企业资质
        getRegionalAptitude:{
            url: `${config.EP_URL}/api/regional/aptitude`,
            name: "",
            get: async function (params) {
                return await http.get(this.url,params);
            }
        },
        // 目标企业分页
        getRegionalTargetIn:{
            url: `${config.EP_URL}/api/regional/target/in`,
            name: "",
            post: async function (data) {
                // return await http.post(this.url, data, {headers: {}});
                return await http.postByContentType( this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
        // 目标企业删除
        deleteRegionalTarget:{
            url: `${config.EP_URL}/api/regional/target/in/del`,
            name: "",
            post: async function (data) {
                return await http.postByContentType( this.url, data, {headers: {'Content-Type': 'application/json;charset=UTF-8'}});
            }
        },
    }

}
